package cevent.source.cloudcenter.business.controller.client;/**
 * Created by Cevent on 2021/8/3.
 */

import cevent.source.cloudcenter.server.dto.ResponseDataDto;
import cevent.source.cloudcenter.server.service.EmployeeService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author cevent
 * @description 客户端员工接口
 * @date 2021/8/3 11:45
 */
@RestController
@RequestMapping("/client/emp")
public class ClientEmployeeController {
    private static final Logger LOG= LoggerFactory.getLogger(ClientEmployeeController.class);
    public static final String BUSINESS_NAME="客户端员工获取";

    @Resource
    private EmployeeService employeeService;

    @GetMapping("/attract")
    public ResponseDataDto getClientAttractInvestment(){
        ResponseDataDto responseData=new ResponseDataDto();
        responseData.setResponseData(employeeService.getClientAttractInvestment());
        return responseData;
    }

}
